home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 376-400 / disk_379 / llsort / llsort.doc < prev    next >
Text File  |  1992-05-06  |  2KB  |  61 lines

  1. A SORT of RELACEMENT
  2.  
  3. Les Leist
  4. 125 S. Reynolds Street #J-117
  5. Alexandria, VA 22304-3126
  6.  
  7. This assembly language program is a very good replacement for the AMIGADos
  8. SORT utility found in c:.  It performs in-memory sorts of ASCII text files
  9. whose records are terminated by the linefeed character (0A hex., 10
  10. decimal).  For those familiar with the new Shell environment, LLSort has its
  11. Pure bit set and may be made resident.
  12.  
  13. LLSort is barely twice the size of the AMIGADos sort, yet it is compatible
  14. with it and has the following major enhancements:
  15.  
  16. 1.  Complete memory management.
  17.  
  18. 2.  Maximum file size of 65,535 records and 254 characters per record.
  19.  
  20. 3.  User specified input and output files, using CLI or Shell.
  21.  
  22. 4.  COLSTART parameter to start sorting on that column, or the
  23.     FIELDS   parameter to sort on up to 8 separate defined fields
  24.     in either ascending or descending order.
  25.     Default is sort in ascending order.
  26.  
  27. 4.  Ability to sort with case insensitivity.
  28.     Default is sort in case sensitive order, capital letters first.
  29.  
  30. 5.  Ability to sort with numbers placed after letters.
  31.     Default is sort with numbers placed first.
  32.  
  33. Usuage:
  34.  
  35. LLSORT [From] fromfile [To] tofile
  36.        [COLSTART nn
  37.         <or>
  38.         FIELDS sc1/#c1/options sc2-ec2/options .... ]
  39.  
  40.         nn  = starting column for COLSTART sorting;
  41.  
  42.         sc1 = starting  column  for first  FIELD,
  43.         #c1 = number of columns for first  FIELD,
  44.         sc2 = starting  column  for second FIELD,
  45.         ec2 = ending    column  for second FIELD  (either /#c or -ec may be
  46.                                                    used with any field)
  47.         options = A  for ascending order (Default),
  48.                   D  for descending order,
  49.                   C  for case insensitive, and
  50.                   N  for sorting numbers after letters.
  51.  
  52. Examples:
  53.  
  54. LLSORT textfile out
  55.  
  56. LLSORT ram:textfile prt:out Colstart 7
  57.  
  58. LLSORT df1:textfile ram:out Fields 1/7/acn 10/4/dcn
  59.  
  60. Have Fun!
  61.